-
-
Notifications
You must be signed in to change notification settings - Fork 700
chore(eslint): enable 'testing-library', 'jest-dom', 'vitest' plugins and fix violations #3190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
commit: |
|
| Playground | Link |
|---|---|
| React demo | https://livecodes.io?x=id/BBNMJL42Q |
See documentations for usage instructions.
d7a01fd to
3bb856b
Compare
3bb856b to
0b1eb45
Compare
0b1eb45 to
f1a0557
Compare
f1a0557 to
a02443a
Compare
a02443a to
783bc4a
Compare
783bc4a to
21bf506
Compare
21bf506 to
93eb4ef
Compare
93eb4ef to
0b3ca70
Compare
c147cfd to
60209a0
Compare
60209a0 to
0b3ca70
Compare
0b3ca70 to
df8bad9
Compare
Could you create a dedicated PR for this in Jotai and Zustand? And, have a ts-expect PR separately (can reuse this PR). |
|
@sukvvon Still waiting for separating PRs in Jotai repo. Basically one is the same scope as pmndrs/zustand#3321. |
dai-shi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for the fix!
Related Bug Reports or Discussions
Fixes #
Summary
expectassertions to satisfyvitest/expect-expectruleeslint-disablecomments for valid exceptionsNotes
vitest/no-conditional-expectis disabled for[DEV-ONLY]tests inerror.test.tsxbecause:it.runIf/it.skipIfto split tests causes failures in production buildsexpectis a valid pattern for this complex testing scenariovitest/expect-expectis disabled for types-only test inuseHydrateAtoms.test.tsxbecause:Check List
pnpm run fixfor formatting and linting code and docs